<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%><!--jstl-->
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<!DOCTYPE html>
<html lang="zn-CN">
<head>
    <!--添加 viewport 元数据标签,确保适当的绘制和触屏缩放-->
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Spring Boot Demo - FreeMarker</title>
	<!-- Bootstrap -->
    <link href="/static/css/bootstrap.min.css" rel="stylesheet">
	<link href="/static/css/index.css" rel="stylesheet" />
	
</head>
<body>
	<h1 id="title">${title}</h1>	
	<form name="editForm" namespace="/" action="saveOrUpdate" method="post" id="editForm">
	<div id="container">
		<div class="ui_content">
			<table cellspacing="0" cellpadding="0" width="30%" align="left" border="0">
				<tr style="display:none">
					<td class="ui_text_rt" width="140">权限编号</td>
					<td class="ui_text_lt">
						<input type="text" name="id" class="form-control" value="${permission.id}" readonly="readonly"/>					                         
					</td>
				</tr>
				<tr>
					<td class="ui_text_rt" width="140">权限名称</td>
					<td class="ui_text_lt">
						<input type="text" name="name" class="form-control" value="${permission.name}" />					                         
					</td>
				</tr>
				<tr>
					<td class="ui_text_rt" width="140">权限表达式</td>
					<td class="ui_text_lt">
						<input type="text" name="expression" class="form-control" value="${permission.expression}"/>
					</td>
				</tr>
				<tr>
					<td>&nbsp;</td>
					<td class="ui_text_lt">
						&nbsp;<input type="submit" value="保存编辑" class="btn btn-primary"/>
						&nbsp;<input id="cancelbutton" type="button" value="重置" class="btn btn-primary"/>
					</td>
				</tr>
			</table>
		</div>
	</div>
</form>
    <script src="/static/js/jquery.min.js"></script>
    <script src="/static/js/bootstrap.min.js"></script>
</body>
</html>
